<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>系统管理-系统日志</title>
    	<jsp:include page="../../include/base.jsp"></jsp:include>
		<jsp:include page="../../include/common.jsp"></jsp:include>
		<script src="../MainHandler.js" type="text/javascript"></script>
		<script src="systemLog.js" type="text/javascript"></script>
	
	<style type="text/css">
    body {
        margin:0;padding:0;border:0;width:100%;height:100%;overflow:visible;
    }    
    <!-- 用于修正miniUI的分页条信息不显示的BUG  -->
    #systemLogPager .mini-pager-left{position:absolute;top:0;left:0;}
    #systemLogPager .mini-pager-right{position:absolute;top:0;right:0;}
    </style>
  </head>
  <body>
  	<div id="systemLogToolbar" class="mini-toolbar" style="border:0;font-size:12px;padding-left:6px;">
            <a class="mini-button" iconCls="icon-remove" plain="false" onclick="LogPanel.del">删除日志</a>
            <a class="mini-button" iconCls="icon-remove" plain="false" onclick="LogPanel.delall">清空日志</a>
            <span class="separator"></span>
            <a class="mini-button" iconCls="icon-reload" plain="false" onclick="LogPanel.reload">刷新</a>
	</div>
  
      <div class="mini-fit" >
        
        <div id="systemLogDatagrid" class="mini-datagrid" style="width:100%;" 
              idField="id" fitColumns="true"  multiSelect="true" showFooter="false" 
              borderStyle="border-bottom:0;border-left:0;border-right:0;">
            <div property="columns">
            	<div type="checkcolumn"></div>
                <div field="optType" width="150" align="center" headerAlign="center" allowSort="true">操作类型</div>    
                <div field="optModule" width="150" align="center" headerAlign="center" allowSort="true">操作模块</div>                            
                <div field="optDesc" width="150"  align="center" headerAlign="center" allowSort="true">操作描述</div>
                <div field="optUser" width="100%" align="center" allowSort="true" headerAlign="center">操作人</div>
                <div field="optTime" width="150" allowSort="true" align="center" headerAlign="center">操作时间</div>
                <div field="optIpaddr" width="120" allowSort="true" align="center" headerAlign="center">ip地址</div>
            </div>
        </div> 
	</div>
		<div class="mini-pager" id="systemLogPager"  style="border: solid 1px #ccc;" onpagechanged="LogPanel.pagechanged" 
			sizeList="[5,10,20]" >
		</div>
		
		<script type="text/javascript">
       		mini.parse();
			LogPanel.init();
	</script>
  </body>
</html>
